﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Lemon.Blog.Blog
{
    public class BlogReply:Entity<int>
    {
        public BlogReply()
        {
        }
        public BlogReply(int id) => Id = id;

        public string Content { get; set; }
        public Guid ReplyUserId { get; set; }
        public int? ReplyToId { get; set; }
        public DateTime CreateTime { get; set; }
        public int BlogId { get; set; }

        [ForeignKey("BlogId")]
        public Blog Blog { get; set; }
    }
}
